package com.sxj.corejava.code15_反射;

/**
 * @author 石小俊
 */
public class Person {
    private Integer age;
    public String phone;

    public double add(double i, double j){
        return i + j;
    }

    public void test(){
        System.out.println("这是父类中public修饰的方法");
    }

    private void recode(){
        System.out.println("这是父类中private修饰的方法");
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
